#ifndef MENU_H
#define MENU_H

#include <SFML\Graphics.hpp>
#include <iostream>
#include <SFML\Audio.hpp>
class Menu 
{
public:
	Menu(sf::RenderWindow& wnd);
	void drawMenuElements(sf::RenderWindow& wnd);
	void menuUpdate(); //All the menu logic is here
	void startStopMusic(bool truefalse); //true to play music false to stop music
	float getCurrentItem();
	float setCurrentItem(float val);
	sf::Text getStartText();
	sf::Text getOptionsText();
	sf::Sprite getArrowSprite();
	sf::Font getFont();
	float currentItem; // 1 = startText, 2 = optionsText
	sf::Music menuMusic;
private:
	float arrowOffset;

	sf::SoundBuffer buffer;
	sf::Sound menuding;
	sf::Font menuFont;
	sf::Text startText;
	sf::Text optionsText;
	sf::Texture arrowTexture;
	sf::Sprite arrowSprite;
};

#endif
